import { createApp } from 'vue'
import './style.css'
import App from './App.vue'

const app = createApp(App)
import Auth from './directive/auth'
// 注册pinia
import { createPinia } from 'pinia'
app.use(createPinia())
// 注册这个自定义指令
app.directive('auth', Auth);

app.mount('#app')